//***********************************************************
//  pp23.java  Java Foundation
//
// The homework about pp23
//***********************************************************

import java.util.Scanner;

public class pp23
{
    //--------------------------------------------------------
    //Calculation of two floating point numbers.
    //--------------------------------------------------------
    public static void main (String[] args)
    {
       double A, B, C, D, E;

       Scanner scan = new Scanner (System.in);

       System.out.print ("the first numder: ");
       A = scan.nextDouble();

       System.out.print ("the second number: ");
       B = scan.nextDouble();
     
       C = A + B;
       D = A * B;
       E = A / B;

       System.out.println ("sum:" + C );
       System.out.println ("product:" + D);
       System.out.println ("trade:" + E);
    }
}
